﻿using My.Admin.Model;
using My.Admin.Model.System;
using System.ComponentModel.DataAnnotations;
using System.Xml;

namespace My.Admin.Dto.User
{
	public class PageUserInput: PagerInfo
	{
		public string RealName { get; set; } = string.Empty;
	}

	public class AddUserInput : SysUser
	{
		/// <summary>
		/// 角色集合
		/// </summary>
		public List<long> RoleIdList { get; set; }
	}

	public class DeleteUserInput 
	{
		/// <summary>
		/// 主键Id
		/// </summary>
		[Required(ErrorMessage = "Id不能为空")]
		public virtual long Id { get; set; }
	}

	public class UpdateUserInput : AddUserInput
	{
	}
}
